package com.cloudkinto.service.mail.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @author fanp
 * @version v1.0.0
 * @Description :
 * @Create on : 2021/11/8 15:47
 **/
@Data
@ApiModel
public class MailAccountAddReq {
    @NotEmpty(message = "请输入邮箱账号")
    private String mailNo;
    @NotEmpty(message = "请输入邮箱smtp账号")
    private String user;
    @NotEmpty(message = "请输入邮箱smtp密钥")
    private String password;
    @ApiModelProperty("发件时昵称")
    private String nick;
    @ApiModelProperty("邮件订单绑定的店铺")
    private Long storeId;
    @ApiModelProperty("非必填， 高级设置才可选填")
    private String smtp;
    @ApiModelProperty("非必填， 高级设置才可选填")
    private String imap;
    @ApiModelProperty("默认发送模板id")
    private Long defaultSendTemplateId;
    @ApiModelProperty("默认确认模板id")
    private Long defaultConfirmTemplateId;
    @ApiModelProperty("端口")
    private String port;
    @ApiModelProperty("是否自动发送")
    private Integer isAutoSent;
    @ApiModelProperty("自定义邮件头部")
    private String headContent;
    @ApiModelProperty("自定义邮件尾部")
    private String tailContent;
    @ApiModelProperty("标题")
    private String title;
    @ApiModelProperty("位置类型")
    private int emailTitleType;

}
